import upload from './index.vue';
upload.install = Vue => Vue.component(upload.name, upload); //.name就是开始说的vue文件暴露出来的name名，upload整个组件
export default upload;